package com.zjn.servicea.dao;



import com.zjn.entity.User;
import com.zjn.entity.UserInfoReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserDao {
    int deleteByPrimaryKey(Short id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Short id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<UserInfoReq> selectInfoUic(@Param("id") short id, @Param("idNo")String idNo , @Param("offset") Integer offset, @Param("limit") Integer limit);
}